// 华容道游戏关卡数据
export const levels = [
  {
    id: 1,
    boardSize: [4, 5],
    exit: [3, 3],
    blocks: [
      { id: 1, type: "曹操", x: 0, y: 0, width: 2, height: 2 },
      { id: 2, type: "关羽", x: 0, y: 2, width: 2, height: 1 },
      { id: 3, type: "张飞", x: 2, y: 0, width: 1, height: 2 },
      { id: 4, type: "士兵", x: 3, y: 2, width: 1, height: 1 },
      { id: 5, type: "士兵", x: 1, y: 3, width: 1, height: 1 },
      { id: 6, type: "士兵", x: 2, y: 3, width: 1, height: 1 },
      { id: 7, type: "士兵", x: 3, y: 0, width: 1, height: 1 }
    ]
  },
  {
    id: 2,
    boardSize: [5, 4],
    exit: [4, 2],
    blocks: [
      { id: 1, type: "曹操", x: 1, y: 0, width: 2, height: 2 },
      { id: 2, type: "黄忠", x: 0, y: 2, width: 1, height: 2 },
      { id: 3, type: "马超", x: 3, y: 1, width: 1, height: 2 },
      { id: 4, type: "士兵", x: 0, y: 0, width: 1, height: 1 },
      { id: 5, type: "士兵", x: 0, y: 1, width: 1, height: 1 },
      { id: 6, type: "士兵", x: 0, y: 3, width: 1, height: 1 },
      { id: 7, type: "士兵", x: 3, y: 3, width: 1, height: 1 },
      { id: 8, type: "士兵", x: 2, y: 2, width: 1, height: 1 }
    ]
  },
  {
    id: 3,
    boardSize: [5, 5],
    exit: [4, 2],
    blocks: [
      { id: 1, type: "曹操", x: 1, y: 0, width: 2, height: 2 },
      { id: 2, type: "关羽", x: 0, y: 2, width: 2, height: 1 },
      { id: 3, type: "张飞", x: 3, y: 0, width: 1, height: 2 },
      { id: 4, type: "赵云", x: 3, y: 2, width: 1, height: 2 },
      { id: 5, type: "马超", x: 0, y: 3, width: 1, height: 2 },
      { id: 6, type: "士兵", x: 1, y: 3, width: 1, height: 1 },
      { id: 7, type: "士兵", x: 2, y: 3, width: 1, height: 1 },
      { id: 8, type: "士兵", x: 3, y: 4, width: 1, height: 1 },
      { id: 9, type: "士兵", x: 4, y: 4, width: 1, height: 1 }
    ]
  },
  {
    id: 4,
    boardSize: [5, 5],
    exit: [4, 2],
    blocks: [
      { id: 1, type: "曹操", x: 1, y: 1, width: 2, height: 2 },
      { id: 2, type: "关羽", x: 0, y: 0, width: 2, height: 1 },
      { id: 3, type: "张飞", x: 3, y: 0, width: 1, height: 2 },
      { id: 4, type: "赵云", x: 4, y: 0, width: 1, height: 3 },
      { id: 5, type: "马超", x: 0, y: 3, width: 1, height: 2 },
      { id: 6, type: "黄忠", x: 1, y: 3, width: 1, height: 2 },
      { id: 7, type: "士兵", x: 2, y: 3, width: 1, height: 1 },
      { id: 8, type: "士兵", x: 3, y: 2, width: 1, height: 1 },
      { id: 9, type: "士兵", x: 3, y: 3, width: 1, height: 1 },
      { id: 10, type: "士兵", x: 4, y: 3, width: 1, height: 1 }
    ]
  },
  {
    id: 5,
    boardSize: [5, 5],
    exit: [4, 2],
    blocks: [
      { id: 1, type: "曹操", x: 1, y: 1, width: 2, height: 2 },
      { id: 2, type: "关羽", x: 0, y: 0, width: 1, height: 3 },
      { id: 3, type: "张飞", x: 3, y: 0, width: 1, height: 3 },
      { id: 4, type: "赵云", x: 0, y: 3, width: 2, height: 1 },
      { id: 5, type: "马超", x: 2, y: 3, width: 1, height: 2 },
      { id: 6, type: "黄忠", x: 3, y: 3, width: 2, height: 1 },
      { id: 7, type: "士兵", x: 0, y: 4, width: 1, height: 1 },
      { id: 8, type: "士兵", x: 1, y: 4, width: 1, height: 1 },
      { id: 9, type: "士兵", x: 3, y: 4, width: 1, height: 1 },
      { id: 10, type: "士兵", x: 4, y: 4, width: 1, height: 1 }
    ]
  }
];